package com.scpcfe.www.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller   //接口返回的是html格式的数据
public class HtmlDemo {
    @RequestMapping("/index")
    public String enter(){
        return "index";   //index表示的是模板路径下的同名(+.html) 文件
    }
    @RequestMapping("/upload")
    public String upload(){
        return "upload";   //index表示的是模板路径下的同名(+.html) 文件
    }
    @RequestMapping("/uploads")
    public String uploads(){
        return "uploads";
    }


}
